const express = require('express');
const router = express.Router();
const userController = require('../controller/user');

// 用户相关路由
router.get('/users', userController.getUser);
router.post('/users/login', userController.login);
router.get('/users/info', userController.info);
router.get('/login/code', userController.loginCode);


module.exports = router;
